<template>
  <ScreenAdapter :mode="currentMode" :debug="false">
    <div class="big-screen">
      <div class="svg-showcase">
        <SvgTest />
      </div>
      <div class="svg-showcase">
        <doubleRotate />
      </div>
      <!-- 第二个svg组件 -->
      <!-- <div class="svg-second">
        <lightSvg />
      </div> -->
    </div>
  </ScreenAdapter>
</template>

<script>
import lightSvg from "@/components/svg/light-svg2.vue";
import bg from "@/assets/img/10.jpg";
import ScreenAdapter from "@/components/ScreenAdapter/index.vue";
import SvgTest from "./svg-test.vue";
import doubleRotate from "@/components/svg/double-rotate.vue";

export default {
  name: "BigScreen",
  components: {
    lightSvg,
  },
  data() {
    return {
      currentMode: "fit",
      bg: bg,
    };
  },
  components: {
    ScreenAdapter,
    lightSvg,
    SvgTest,
    doubleRotate,
  },
  data() {
    return {
      currentMode: "fit",
      bg: bg,
    };
  },
};
</script>

<style lang="less" scoped>
.big-screen {
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  // background-image: url(@/assets/img/10.jpg);//
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  // display: flex;
  // flex-direction: column;
  // align-items: center;
  // justify-content: center;
}

.svg-showcase {
  width: 10%;
  height: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.svg-second {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  // background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 30px;
  // backdrop-filter: blur(10px);
  // border: 1px solid rgba(255, 255, 255, 0.2);
}
</style>
